#include <iostream>
#include <string>
#include <stack>

#include "directorymanager.hpp"

using namespace std;


int main()
{
	bufferManager buffman((char*)"prueba");
	char* p1 = buffman.query(2);
	char* p2 = buffman.query(4);



    utils::mapArray(p1,1024,ASCII);


    cout << "MODIFICAMOS" << endl;

    char car = '1';
    for (int i = 0; i < 32; i++)
    {
        p1[i] = car;
        car++;
    }

    utils::mapArray(p1,1024,ASCII);

    cout << "vaya vaya" << endl;
    buffman.update(69);

    cout << "aqui no hay playa" << endl;
    buffman.update(2);

	cout << "FIN" << endl;


}
